@charset 'utf-8';
@import '_color.scss';
.main-box{
    position: relative;
}
.map-box{
    width: 100%;
    height: 100%;
}
.map-btn-list{
    position: absolute;
    top: 30px;
    right: 30px;
    display: flex;
    >li{
        margin-left: 30px;
        >a{
            display: block;
            width: 56px;
            >img{
                display: block;
                width: 100%;
            }
            .map-btn-active{
                display: none;
            }
            &:hover{
                .map-btn-active{
                    display: block;
                }
                .map-btn{
                    display: none;
                }
            }
            
        }
        &:first-child{
            margin-left: 0;
        }
        
      
        .map-btn-pop{
            display: none;
            position: absolute;
            top: 100%;
            right: 100%;
            width:468px ;
            margin-top: 5px;
            padding: 20px;
            border-radius: 10px 0 10px 10px;
            background-color: $blackColor;
            .pop-title{
                display: flex;
                align-items: center;
                justify-content: space-between;
                margin-bottom: 20px;
                >h3{
                    font-size: 16px;
                    color: $greenText;
                }
                >a{
                    color: #fff;
                    font-size: 14px;
                    >img{
                        width: 15px;
                    }
                    &:hover{
                        color: $greenText;
                    }
                }
            }
            .pop-tab{
              >a{
                display: inline-block;
                width: 120px;
                height: 36px;
                margin-right: 10px;
                border-radius: 4px;
                text-align: center;
                line-height: 36px;
                background-color: rgba(30, 237, 147, 0.3);
                color: $greenText;
                font-size: 14px;
                font-weight: bold;
                &:last-child{
                    margin-right: 0;
                }
                &.active{
                    background-color: $greenText;
                    color: #333;
                }
                &:hover{
                    background-color: $greenText;
                    color: #333;
                }
              }
            }
            .pop-tab-content{
                height: 300px;
                overflow: hidden;
                ul{
                    margin-top: 10px;
                    padding-right:15px;
                    height: 100%;
                    overflow: auto;
                }
                li{
                    height: 40px;
                    display: flex;
                    align-items: center;
                    justify-content: space-between;
                    font-size: 14px;
                    >span{
                        flex: 1;
                        margin-right: 10px;
                        overflow: hidden;
                        text-overflow: ellipsis;  
                        white-space: nowrap;         
                    }

                    >.time{
                        width: 130px;
                        margin-right:10px;
                    }
                    >a{
                        color: $greenText;
                        font-size: 12px;
                    }
                    &:hover{
                        color: $greenText;
                    }

                }
            }
            .pop-content-detail{
                display: none;
                .detail-leval{
                    margin: 10px 0;
                    font-size: 14px;
                    font-weight: bold;
                    color: #FFDB61;
                }
               >.detail-content{
                   padding-right: 15px;
                   color: #fff;
                   font-size: 14px;
                   line-height: 2;
                   height: 300px;
                   overflow: auto;
               }
            }
        }
    }
    #outFull{
        display: none;
    } 
    
}
.map-btn-pop.emergency-box{
    width: 668px!important;
    transform: translateX(86px);
}
.close-btn{
    position: absolute;
    top: 15px;
    right: 15px;
    width: 15px;
    z-index: 999;
    >img{
        width: 100%;
    }
  }
  .prop-title{
    font-size: 16px;
    margin-bottom: 10px;
    >span{
      font-size: 14px;
      color: $greenText;
    }
  }
  .video-box{
    position: absolute;
    right:20px;
    top:20px;
    width:300px;
    >video{
      display: block;
      width:100%;
    }
  }
  .map-prop{
    position: absolute;
    left: 30px;
    top:30px;
    padding: 15px;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    display: none;
    >p{
      font-size: 12px;
      line-height: 24px;
    }
    .btn-list{
      margin-top: 20px;
      >a{
        padding: 5px 10px;
        border-radius: 4px;
        background-color: #09da7f;
        font-size: 12px;
        color: #fff;
        &:hover{
          background-color: $greenText;
        }
      }
    }
  }
  .line-monitor,.line-audio{
    position: absolute;
    left:500px;
    top:30px;
    width: 300px;
    height: 460px;
    background-color: #00070f;
    border-radius: 6px;
    display: none;
    .title{
      position: absolute;
      top: 30px;
      left: 30px;
      color: #333;
      line-height: 2;
    }
    .bottom-box{
      width: 100%;
      position: absolute;
      left: 0;
      bottom: 40px;
      text-align: center;
      a{
        display: inline-block;
        margin-right: 20px;
        color: #fff;
        &:last-child{
          margin-right: 0;
        }
      }
      img{
        display: block;
        width: 20px;
        margin:10px auto;
      }
      .guaduan{
        >img{
          width: 30px;
        }
        margin-top:10px;
      }
    }
  }
  .line-audio{
    .title{
      top:40%;
      left:50%;
      transform: translate(-50%);
      text-align: center;
      >img{
        margin: 0px auto;
      }
    }
  }
  .task-prop{
    position: absolute;
    left: 500px;
    top: 100px;
    width: 360px;
    padding: 15px;
    border-radius: 6px;
    background-color:#fff;
    color: #333;
    display: none;
    >h3{
      font-size: 16px;
     margin-bottom: 20px;
     color: #09da7f;
    }
  
    .task-item{
      display: flex;
      align-items: center;
      padding: 10px 0;
      border-bottom: 1px solid #f2f2f2;
      &:last-child{
        margin-bottom: 0;
      }
      >label{
        margin-right: 10px;
        font-weight: bold;
      }
      .item-content{
        flex: 1;
      }
      
      .select-box {
        position: relative;
        width: 160px;
        .sel-sign{
          width: 26px!important;
          height: 26px!important;
        }
      }
      .result-box{
        >li{
          margin-bottom: 10px;
          display: flex;
          justify-content: space-between;
          align-items: center;
           >p{
            flex: 1;
          }
        }
       
       .del-btn{
          width: 15px;
          margin-left:20px;
          >img{
            display: block;
            width: 100%;
          }
        }
      }
      .choose-box{
        display: none;
        padding: 10px;
        border: 1px solid #ccc;
        border-radius: 10px;
        .select-box{
          margin-bottom: 10px;
        }
      }
      .add-btn{
        display: block;
        width: 88px;
        margin-bottom: 10px;
        padding: 4px 10px;
        border-radius: 4px;
        background-color: rgba(9,218,127,.1);
        border: 1px solid #09da7f;
        color:#09da7f;
  
      }
      .btn-list{
        margin-top: 20px;
        >a{
          padding: 2px 10px;
          border-radius: 4px;
          border:1px solid  #ccc;
          font-size: 12px;
          color: #ccc;
          &.active{
            border:1px solid  #09da7f;
            color:#09da7f;
          }
        }
      }
    }
    button{
      display: block;
      width: 100%;
      height:32px;
      margin: 30px auto 10px;
      background-color: #09da7f;
      color: #fff;
      border-radius: 4px;
      &:hover{
        background-color: $greenText;
      }
    }
    
  }

  .check-list-item{
    display: block;
    margin-bottom: 10px;
    >input{
      display: none;
    }
    >i{
      position: relative;
      display: inline-block;
      width: 12px;
      height: 12px;
      border: 1px solid #ccc;
      border-radius: 2px;
      vertical-align: text-bottom;
      &::before{
        display: none;
        position: absolute;
        left: 50%;
        top: 50%;
        transform: translate(-50%,-50%);
        font-size: 12px;
        content: '\2714';
      }
    }
    >input:checked+i::before{
      display: block;
      color: #09da7f;
    }
    >input:checked+i{
      border-color: #09da7f;
    }
  }
  .map-box{
    position: relative;
    z-index: 10;
    .map{
      height: 100%;
    }
    .BMapLabel{
      border: 0!important;
      padding:2px 4px!important;
      border-radius: 2px;
    }
  }
  
.BMapLabel{
    top:50px!important;
    left:18px!important;
    transform: translateX(-50%)!important;
    }

// 修改下拉框默认样式
.sel-box.on{
  border-color: #09da7f;
}
.sel-float-box.on{
  border-color: #09da7f;
}
.sel-float-div:hover{
  background-color: rgba(9,218,127,.1);
  color: #333;
}

